//
//  body.h
//  bird
//
//  Created by Xiaochen Lian on 5/2/12.
//  Copyright (c) 2012 University of California, Los Angeles. All rights reserved.
//

#ifndef bird_body_h
#define bird_body_h

#include "entity.h"
#include "common.h"

class CBody : public IEntity
{
private:
    static const GLint LEVEL = 5;
public:
    CBody(vec3 scale, vec4 pos);
    ~CBody();
    void set_material(const lighting_struct &material);
    void build_model();
    void draw(const mat4 &tfm_parent);
    void update(GLfloat phi);

private:
    vec3 m_scale;
    lighting_struct m_material;
};

#endif
